package com.atguigu.gulimail.product.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimail-ware")
public interface WareService {
    @RequestMapping("ware/waresku/info/getStock/{skuId}")
    R getStock(@PathVariable("skuId") Long skuId);
}

